package com.villaday.idf.model;

import java.util.List;

/**
 * Created by tudou on 2018/10/9.
 */

public class Surrounds_citiesEntity {

    /**
     * code : 200
     * status : success
     * msg : success
     * body : [{"code":"shenzhen","id":"eV8nvv48JB","name":"深圳","serverTime":1539069639817,"shortCode":"sz"},{"code":"guangzhou","id":"NX82LJvqeG","name":"广州","serverTime":1539069639817,"shortCode":"gz"},{"code":"huizhou","id":"jJr6B7ZrW0","name":"惠州","serverTime":1539069639817,"shortCode":"hz"},{"code":"qingyuan","id":"MwqYWBA8xP","name":"清远","serverTime":1539069639817,"shortCode":"qy"},{"code":"yangjiang","id":"x7RyQvgRb3","name":"阳江","serverTime":1539069639817,"shortCode":"yj"},{"code":"zhuhai","id":"joq5llBRlp","name":"珠海","serverTime":1539069639817,"shortCode":"zh"},{"code":"xiamen","id":"n1GrkaGRMz","name":"厦门","serverTime":1539069639817,"shortCode":"xm"},{"code":"sanya","id":"3D8D5lbRlY","name":"三亚","serverTime":1539069639817,"shortCode":"sy"},{"code":"dongguan","id":"eV8nvZj8JB","name":"东莞","serverTime":1539069639817,"shortCode":"dg"},{"code":"shanwei","id":"BbReOn5rLa","name":"汕尾","serverTime":1539069639817,"shortCode":"sw"},{"code":"guilin","id":"bl8mMQd8GA","name":"桂林","serverTime":1539069639817,"shortCode":"gl"},{"code":"sumeidao","id":"oLrGybMRE4","name":"苏梅岛","serverTime":1539069639817,"shortCode":"smd"},{"code":"maerdaifu","id":"KyrgmAVRDe","name":"马尔代夫","serverTime":1539069639817,"shortCode":"medf"},{"code":"shantou","id":"yJrbWW78dY","name":"汕头","serverTime":1539069639817,"shortCode":"st"},{"code":"meizhou","id":"Kv8E9Dv8M4","name":"梅州","serverTime":1539069639817,"shortCode":"mz"},{"code":"heyuan","id":"51q1JzmrVQ","name":"河源","serverTime":1539069639817,"shortCode":"hy"}]
     */

    private String code;
    private String status;
    private String msg;
    private List<BodyEntity> body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<BodyEntity> getBody() {
        return body;
    }

    public void setBody(List<BodyEntity> body) {
        this.body = body;
    }

    public static class BodyEntity {
        /**
         * code : shenzhen
         * id : eV8nvv48JB
         * name : 深圳
         * serverTime : 1539069639817
         * shortCode : sz
         */

        private String code;
        private String id;
        private String name;
        private long serverTime;
        private String shortCode;
        private boolean isCheck;

        public boolean isCheck() {
            return isCheck;
        }

        public void setCheck(boolean check) {
            isCheck = check;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public long getServerTime() {
            return serverTime;
        }

        public void setServerTime(long serverTime) {
            this.serverTime = serverTime;
        }

        public String getShortCode() {
            return shortCode;
        }

        public void setShortCode(String shortCode) {
            this.shortCode = shortCode;
        }
    }
}
